Task(TResult) Properties
From Task Parallel System.Threading
|
|
| .NET Framework Class Library |
| Task<(Of <(TResult>)>) Properties |
| Task<(Of <(TResult>)>) Class See Also Send Feedback |
The Task<(Of <(TResult>)>) type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| AsyncState |
Gets the state object supplied when the Task was created,
or null if none was supplied.
(Inherited from Task.) | |
| CreationOptions |
Gets the TaskCreationOptions used
to create this task.
(Inherited from Task.) | |
| Exception |
Gets the Exception that caused the Task to end prematurely. If the Task completed successfully or has not yet thrown any
exceptions, this will return null.
(Inherited from Task.) | |
| Factory |
Provides access to factory methods for creating Task<(Of <(TResult>)>) instances.
| |
| Id |
Gets a unique ID for this Task instance.
(Inherited from Task.) | |
| IsCanceled |
Gets whether this Task instance has completed
execution due to being canceled.
(Inherited from Task.) | |
| IsCompleted |
Gets whether this Task has completed.
(Inherited from Task.) | |
| IsFaulted |
Gets whether the Task completed due to an unhandled exception.
(Inherited from Task.) | |
| Result |
Gets the result value of this Task<(Of <(TResult>)>).
| |
| Status |
Gets the TaskStatus of this Task.
(Inherited from Task.) |
Explicit Interface Implementations
| Name | Description | |
|---|---|---|
| IAsyncResult..::.AsyncWaitHandle |
Gets a WaitHandle that can be used to wait for the task to
complete.
(Inherited from Task.) | |
| IAsyncResult..::.CompletedSynchronously |
Gets an indication of whether the asynchronous operation completed synchronously.
(Inherited from Task.) |